using System;
using System.Collections.Generic;
using System.ComponentModel;
using DataService.Core.ModeCode;

namespace TY.Model.Test2
{
    [Serializable]
    [DataObject]
    public partial class TB_PersonnelInformation
    {
        #region 属性
        ///<summary>ID</summary>
        [Fieldndex("PrimaryKey")]
        [ColumnProperty(0, "uniqueidentifier", "ID")]
        public System.Guid ID { get; set; }
        ///<summary>员工编号</summary>
        [ColumnProperty(50, "nvarchar", "员工编号")]
        public String PersonnelNo { get; set; }
        ///<summary>员工姓名</summary>
        [ColumnProperty(30, "nvarchar", "员工姓名")]
        public String PersonnelName { get; set; }
        ///<summary>状态 0.其它 1.在职 2.离职</summary>
        [ColumnProperty(10, "int", "状态 0.其它 1.在职 2.离职")]
        public Int32 Status { get; set; }
        ///<summary>工作状态 0.其它 1.已转正 2.试用期</summary>
        [ColumnProperty(10, "int", "工作状态 0.其它 1.已转正 2.试用期")]
        public Int32 WorkStatus { get; set; }
        ///<summary>身份证号码</summary>
        [ColumnProperty(300, "varchar", "身份证号码")]
        public String IDNo { get; set; }
        ///<summary>有效期</summary>
        [ColumnProperty(25, "varchar", "有效期")]
        public String TermOfValidity { get; set; }
        ///<summary>是否删除</summary>
        [ColumnProperty(1, "bit", "是否删除")]
        public Boolean IsDelete { get; set; }
        ///<summary>有无职称</summary>
        [ColumnProperty(1, "bit", "有无职称")]
        public Boolean IsHaveTitle { get; set; }
        ///<summary>工龄</summary>
        [ColumnProperty(3, "decimal", "工龄")]
        public System.Decimal WorkYear { get; set; }
        ///<summary>学习形式</summary>
        [ColumnProperty(50, "nvarchar", "学习形式")]
        public String LearningWay { get; set; }
        ///<summary>有无社保</summary>
        [ColumnProperty(1, "bit", "有无社保")]
        public Boolean IsHaveSocial { get; set; }
        ///<summary>最新缴纳时间</summary>
        [ColumnProperty(25, "varchar", "最新缴纳时间")]
        public String SocialLastTime { get; set; }
        ///<summary>全日制学历</summary>
        [ColumnProperty(0, "uniqueidentifier", "全日制学历")]
        public System.Guid? FullTimeEducationConfigId { get; set; }
        ///<summary>全日制毕业院校</summary>
        [ColumnProperty(50, "nvarchar", "全日制毕业院校")]
        public String FullTimeUniversity { get; set; }
        ///<summary>全日制专业</summary>
        [ColumnProperty(50, "nvarchar", "全日制专业")]
        public String FullTimeMajor { get; set; }
        ///<summary>全日制毕业时间</summary>
        [ColumnProperty(25, "varchar", "全日制毕业时间")]
        public String FullTimeGraduationTime { get; set; }
        ///<summary>全日制毕业证</summary>
        [ColumnProperty(1, "bit", "全日制毕业证")]
        public Boolean FullTimeDiploma { get; set; }
        ///<summary>全日制毕业证原件</summary>
        [ColumnProperty(1, "bit", "全日制毕业证原件")]
        public Boolean FullTimeDiplomaOriginal { get; set; }
        ///<summary>非全日制学历</summary>
        [ColumnProperty(0, "uniqueidentifier", "非全日制学历")]
        public System.Guid? PartTimeEducationConfigId { get; set; }
        ///<summary>非全日制毕业院校</summary>
        [ColumnProperty(50, "nvarchar", "非全日制毕业院校")]
        public String PartTimeUniversity { get; set; }
        ///<summary>非全日制专业</summary>
        [ColumnProperty(50, "nvarchar", "非全日制专业")]
        public String PartTimeMajor { get; set; }
        ///<summary>非全日制毕业时间</summary>
        [ColumnProperty(25, "varchar", "非全日制毕业时间")]
        public String PartTimeGraduationTime { get; set; }
        ///<summary>非全日制毕业证</summary>
        [ColumnProperty(1, "bit", "非全日制毕业证")]
        public Boolean PartTimeDiploma { get; set; }
        ///<summary>非全日制毕业证原件</summary>
        [ColumnProperty(1, "bit", "非全日制毕业证原件")]
        public Boolean PartTimeDiplomaOriginal { get; set; }
        ///<summary>性别  1.男 0.女</summary>
        [ColumnProperty(1, "bit", "性别  1.男 0.女")]
        public Boolean? Sex { get; set; }
        ///<summary>员工类型</summary>
        [ColumnProperty(50, "nvarchar", "员工类型")]
        public String EmployeeType { get; set; }
        ///<summary>联系电话</summary>
        [ColumnProperty(11, "varchar", "联系电话")]
        public String Phone { get; set; }
        ///<summary>资格证书</summary>
        [ColumnProperty(200, "nvarchar", "资格证书")]
        public String CertificateNames { get; set; }
        ///<summary></summary>
        [ColumnProperty(10, "int", "")]
        public Int32 AuditState { get; set; }
        #endregion
    }
}

